import http from "../request.js";
let url = "/admin/invite/";
// 查询邀请人列表
export function selectInvitePerson(data) {
  return http.request({
    url: url + "selectInvitePerson",
    data,
    method: "post",
  });
}

// 查询被邀请人列表
export function selectBeInvitedPerson(data) {
  return http.request({
    url: url + "selectBeInvitedPerson",
    params: data,
  });
}

// 查询邀请人列表
export function selectRule(data) {
  return http.request({
    url: url + "selectRule",
    data,
    method: "post",
  });
}
// 查询邀请人列表
export function updateInviteRule(data) {
  return http.request({
    url: url + "updateInviteRule",
    data,
    method: "post",
  });
}
